<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" 
    AutoEventWireup="false" CodeFile="Template.aspx.vb" Inherits="Template" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

       
        <table border="0" cellpadding="0" cellspacing="0" width="800">
            <tr><td style="font-size: 3px; background-color: #105BA4; height: 3px;"></td></tr>
        </table>

        <table border="0" cellpadding="0" cellspacing="0" width="800">
        
        <tr><td style="width: 800px">

            <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
                <tr>
                    <td style="font-size: 10pt; font-family: Verdana; width: 84px; height: 32px;" align="left">
                        &nbsp;Last Name:
                    </td>
                    <td align="left" style="width: 135px; height: 32px;">
                        &nbsp;<asp:TextBox ID="Lastname_txt" runat="server" Width="120px" Font-Names="Verdana"></asp:TextBox></td>
                    <td style="font-size: 10pt; font-family: Verdana; width: 78px; height: 32px;" align="right">
                        First Name:
                    </td>
                    <td align="left" style="width: 150px; height: 32px;">
                        &nbsp;<asp:TextBox ID="Firstname_txt" runat="server" Width="136px"></asp:TextBox>
                    </td>
                    <td style="font-size: 10pt; font-family: Verdana; width: 90px; height: 32px;" align="right">
                        Middle Name:
                    </td>
                    <td align="left" style="width: 95px; height: 32px;">
                        &nbsp;<asp:TextBox ID="Middlename_txt" runat="server" Width="80px"></asp:TextBox>
                    </td>
                    <td style="font-size: 10pt; font-family: Verdana; width: 40px; height: 32px;" align="right">
                        Alias:
                    </td>
                    <td align="left" style="width: 93px; height: 32px;">
                        &nbsp;<asp:TextBox ID="Alias_txt" runat="server" Width="80px"></asp:TextBox>
                    </td>
                </tr>
            </table>
                
        </td></tr>
        
        <tr><td style="width: 800px">

            <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
                <tr>
                    <td style="font-size: 10pt; font-family: Verdana; width: 105px;" align="left">
                        &nbsp;Policy Number:
                    </td>
                    <td style="width: 125px" align="left">
                        &nbsp;<asp:TextBox ID="Policynumber_txt" runat="server" Width="104px"></asp:TextBox>
                    </td>
                    <td style="font-size: 10pt; font-family: Verdana; width: 58px;" align="right">
                        Provider:
                    </td>
                    <td align="left">
                        &nbsp;<asp:TextBox ID="Provider_txt" runat="server" Width="208px"></asp:TextBox>
                    </td>
                    <td style="font-size: 10pt; font-family: Verdana" align="right">
                        Product:
                    </td>
                    <td align="left">
                        &nbsp;<asp:TextBox ID="Product_txt" runat="server" Width="208px"></asp:TextBox>
                    </td>
                </tr>
            </table>
                
        </td></tr>

        <tr><td style="width: 800px">

            <table border="0" cellpadding="0" cellspacing="0" width="800" style="height: 35px">
                <tr>
                    <td style="width: 400px; height: 24px;"></td>
                    <td style="height: 24px">
                        <asp:Button ID="Search_btn" runat="server" Text="Search" BackColor="Gainsboro" Font-Names="Verdana" />
                    </td>
                    <td style="width: 59px; height: 24px;"></td>
                    <td style="height: 24px">
                        <asp:Button ID="Print_btn" runat="server" Text="Print Results" BackColor="Gainsboro" Font-Names="Verdana" Width="104px" />
                    </td>
                    <td style="height: 24px">
                        <asp:Button ID="Save_btn" runat="server" Text="Save as Excel" BackColor="Gainsboro" Font-Names="Verdana" Width="112px" />
                    </td>
                </tr>
            </table>
                
        </td></tr>

        </table>

        <table border="0" cellpadding="0" cellspacing="0" width="800">
            <tr><td style="font-size: 3px; background-color: #c0c0c0; height: 3px;"></td></tr>
        </table>

        <table cellpadding="0" cellspacing="0" width="800px" style="font-family:Verdana; font-size:10pt">
            <tr>
            <td align="left" style="height: 16px"> Search Results: <asp:Label ID="results_label" runat="server" Text="0"></asp:Label></td>
            <td align="right" style="height: 16px;"> 
                <asp:LinkButton ID="AddNewBusiness" runat="server" ForeColor="Black" PostBackUrl="~/Default.aspx"
                    TabIndex="11" Font-Underline="True">Add New Business</asp:LinkButton></td>
            </tr>
        </table>
        <table cellpadding="0" cellspacing="0" width="800px" style="font-family:Verdana; font-size:3pt; height:3px">
            <tr><td>&nbsp;</td></tr>
        </table>        
        <table cellpadding="0" cellspacing="0">
            <tr><td style="width: 800px;">
                <asp:DataGrid ID="DataGrid" runat="server" AutoGenerateColumns="False" BackColor="White"
                    BorderColor="White" BorderStyle="Solid" BorderWidth="1px" CellPadding="1" Font-Names="Verdana" Width="800px" Font-Size="Small" TabIndex="12" AllowSorting="True" AllowPaging="True">
                    <FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
                    <SelectedItemStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="#663399" />
                    <PagerStyle BackColor="White" ForeColor="#330099" HorizontalAlign="Left" Mode="NumericPages" PageButtonCount="9" Position="Top" />
                    <AlternatingItemStyle BackColor="#D7DADF" />
                    <ItemStyle BackColor="#F2F3F5" ForeColor="Black" />
                    <HeaderStyle BackColor="#105BA4" Font-Bold="True" ForeColor="White" />
                    <Columns>
                        <asp:BoundColumn HeaderText="Name" DataField="Name">
                            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Left" />
                        </asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Policy #" DataField="Policy_ID">
                            <HeaderStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Center" />
                            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Left" />
                        </asp:BoundColumn>
                        <asp:BoundColumn HeaderText="Provider" DataField="Provider">
                            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Left" />
                        </asp:BoundColumn>
                        <asp:BoundColumn DataField="Product" HeaderText="Product">
                            <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                Font-Underline="False" HorizontalAlign="Left" />
                        </asp:BoundColumn>
                        <asp:ButtonColumn CommandName="Edit" Text="Edit">
                            <HeaderStyle Width="10px" />
                        </asp:ButtonColumn>
                        <asp:TemplateColumn>
                            <HeaderStyle Width="15px" />
                            <ItemTemplate>
                                <asp:LinkButton ID="Delete_btn" runat="server" CommandName="Delete" ForeColor="Black">Delete</asp:LinkButton>
                                <ajaxToolkit:ConfirmButtonExtender
                                    ID="ConfirmButtonExtender1" runat="server" ConfirmText="Continue delete?" TargetControlID="Delete_btn">
                                </ajaxToolkit:ConfirmButtonExtender>
                            </ItemTemplate>
                        </asp:TemplateColumn>
                        <asp:ButtonColumn CommandName="View" Text="View">
                            <HeaderStyle Width="15px" />
                        </asp:ButtonColumn>
                    </Columns>
                </asp:DataGrid></td></tr>
        </table>        

        <asp:ScriptManager ID="ScriptManager1" runat="server" />

</asp:Content>